package com.skiving.cloud.config;

import lombok.Data;
import org.noear.solon.annotation.BindProps;
import org.noear.solon.annotation.Component;

@Data
@BindProps(prefix="skiving.cloud.admin.password.expired")
@Component
public class PasswordExpired {
    private String defaultValue;
    /**
     * 密码过期时间
     */
    private int days = 90;

    /**
     * 离过期几天开始提醒
     */
    private int alarm = 10;

    /**
     * 密码过期是否锁定用户
     */
    private boolean lock = false;

    /**
     * 是否强制修改密码
     */
    private boolean forceChangePwd = false;


    /**
     * 离密码过期几天强制修改密码
     */
    private int forceDays = 5;
}
